package com.financing.platform.dao.impl;

import java.sql.SQLException;

import org.springframework.stereotype.Repository;

import com.financing.platform.dao.IFpProductDeepAnalyticsDao;
import com.financing.platform.dto.FpProductDeepAnalyticsDTO;
import com.financing.platform.dto.FpProductDeepAnalyticsHisDTO;
import com.financing.platform.util.SqlName; 

/**
 * @Description:实现类
 * @author lisu
 * @version 1.0
 * @created 
 */
@Repository("fpProductDeepAnalyticsDaoImpl")
public class FpProductDeepAnalyticsDaoImpl extends BaseDaoImpl implements IFpProductDeepAnalyticsDao {

	@Override
	public FpProductDeepAnalyticsDTO getFpProductDeepAnalytics(FpProductDeepAnalyticsDTO dto) throws SQLException {
		return (FpProductDeepAnalyticsDTO)this.sqlMapClient.queryForObject(SqlName.getFpProductDeepAnalytics,dto);
	}

	@Override
	public Integer insertFpProductDeepAnalytics(FpProductDeepAnalyticsDTO dto) throws SQLException {
		return (Integer) this.sqlMapClient.insert(SqlName.insertFpProductDeepAnalytics,dto);
	}

	@Override
	public Integer updateFpProductDeepAnalytics(FpProductDeepAnalyticsDTO dto) throws SQLException {
		return (Integer) this.sqlMapClient.update(SqlName.updateFpProductDeepAnalytics, dto);
	}

	@Override
	public Integer insertFpProductDeepAnalyticsHis(
			FpProductDeepAnalyticsHisDTO dto) throws SQLException {
		return (Integer) this.sqlMapClient.insert(SqlName.insertFpProductDeepAnalyticsHis,dto);
	}
	
}
